package com.ruoyi.common.core.constant.constant;

public interface CodeConstant {
    // 操作成功
    String SUCCESS                  = "2000";

    // 操作失败
    String FAIL                     = "4000";

    // 登录失效
    String LOGIN                    = "4001";

    // 账号封禁
    String BANNED                    = "4002";

    // 参数错误
    String FAIL_PARAM               = "4005";

    // 请求重复
    String FAIL_REQUEST_REPETITION  = "4006";

    // 请求被限制
    String FAIL_REQUEST_LIMIT       = "4007";

    // 请求排队超时
    String FAIL_REQUEST_QUEUE       = "4008";

    // 暂无权限
    String FAIL_PERMISSIONS         = "4009";

    // 服务器异常
    String ERROR                    = "5000";

    // RPC异常
    String ERROR_NETWORK            = "5001";
}
